#include "urldialog.h"
#include "ui_urldialog.h"
#include "globalresource.h"

UrlDialog::UrlDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::UrlDialog)
{
#ifdef  Debug_Falg
    qDebug() << "The name is : <" << __func__ << "> The file is :<" << __FILE__ << ">Thread is <" << QThread::currentThreadId();
#endif
    ui->setupUi(this);
}

UrlDialog::~UrlDialog()
{
    delete ui;
}

QString UrlDialog::GetUrl()
{
#ifdef  Debug_Falg
    qDebug() << "The name is : <" << __func__ << "> The file is :<" << __FILE__ << ">Thread is <" << QThread::currentThreadId();
#endif
    return ui->urlLineEdit->text();
}
